

<template>
action_2_9_4_v_model_main
  <h3>钱数：{{modelValue}}</h3>
  <button @click="handler">父子组件通信</button>
</template>
<script setup>

let props =defineProps(['modelValue'])
let $emit = defineEmits(['update:modelValue']);
const handler = () => {
  $emit('update:modelValue',props.modelValue+1000)

}
</script>
<style scoped>

</style>
